.class Lcom/waiqin365/lightapp/product/ck;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/kehu/c/l;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    const-string/jumbo v1, ""

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->showProgressDialog(Ljava/lang/String;Z)V

    return-void
.end method

.method public a(I)V
    .locals 6

    const/4 v4, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->d(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->a(Ljava/lang/String;)V

    if-eqz p1, :cond_0

    if-ne p1, v4, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->e(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "pd_update_success"

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {v0, v1, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;J)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->f(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "pd_update_success"

    const-wide/16 v2, 0x0

    invoke-static {v0, v1, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;J)J

    move-result-wide v0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    sub-long v0, v2, v0

    const-wide/32 v2, 0x5265c00

    cmp-long v0, v0, v2

    if-lez v0, :cond_3

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->g(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Landroid/content/Context;

    move-result-object v1

    const-string/jumbo v2, ""

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    const v4, 0x7f080812

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/product/cl;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/product/cl;-><init>(Lcom/waiqin365/lightapp/product/ck;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    const v2, 0x7f0802f5

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f0c0064

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    const v2, 0x7f0807fb

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f0c0066

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :cond_2
    :goto_0
    return-void

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Lcom/waiqin365/lightapp/product/d/g;

    move-result-object v0

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/d/g;->a:Z

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    const/16 v1, 0x8ae

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;I)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Lcom/waiqin365/lightapp/product/d/g;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->m:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-static {v0, v4}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Z)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ck;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->b(Lcom/waiqin365/lightapp/product/ProductSelectActivity;)Lcom/waiqin365/lightapp/product/d/g;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->m:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivity;->a(Lcom/waiqin365/lightapp/product/ProductSelectActivity;Ljava/lang/String;)V

    goto :goto_0
.end method
